﻿using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.GamerServices;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework.Media;

namespace GameDev_Story.Objetos
{
    class Plataforma : Objetos.Sprite
    {
        /// <summary>
        /// unica animacao da plataforma(imagem unica)
        /// </summary>
       animacao unicaAnim;

       public Plataforma(Texture2D textura, Vector2 posicao):base(textura)
       {
           unicaAnim = new animacao();
           this.posicao = posicao;
           unicaAnim.qtd_quadros = 1;
           unicaAnim.quadro_X = textura.Width;
           unicaAnim.quadro_Y = textura.Height;
       }
       public override void Update(GameTime gameTime) { }

       public void Draw(GameTime gameTime, SpriteBatch spriteBatch)
       {
           base.Draw(gameTime, spriteBatch, unicaAnim,posicao);
       }
    }
}
